package event

import (
	driver "gitee.com/csingo/cEvent/drivers/channel"
	"gitee.com/csingo/cEvent/interfaces"
	"github.com/gin-gonic/gin"
)

type HelloEvent struct{}

func (h *HelloEvent) EventName() (string, string) {
	return "demo", "HelloEvent"
}

func (h *HelloEvent) Driver() interfaces.DriverInterface {
	return &driver.Driver{
		Size: 1,
	}
}

func (h *HelloEvent) Subscribe(ctx *gin.Context, data *HelloEvent) (err error) {
	return
}
